#pragma once

#include <GL\freeglut.h>
#include "..\utilities\mathematic.h"
#include "pattern.h"

namespace tp1
{
	class Support : public Object3D
	{
	public:
		Support(float base,float height,float radiusCylinders,int sidesCylinders);
		~Support();

		void Render();

	private:
		static const int QOBLIQUECYLINDERS = 3;

		float	m_base;
		float	m_height;
	
		float	m_radiusCylinders;
		int		m_sidesCylinders;

		TrianglePattern*	m_pattern;
		Cylinder*			m_cylinder;
	};
}

